<!doctype html>
<html>
<head>
    <#include "include/common.header.ftl" >
    <script type="text/javascript" src="/js/activity.js"></script>
</head>
<body style="margin: 1px">
<table id="dg" title="活动推送" class="easyui-datagrid"
       fitColumns="true" pagination="true" rownumbers="true"
       url="/demo01/activityPage?state=52&limit=10&sort=id" fit="true" toolbar="#tb">
    <thead>
    <tr>
        <th field="cb" checkbox="true" align="center"></th>
        <th field="first_PrictureAddress" width="50" align="center">活动图片</th>
        <th field="content_PictureAddress" width="50" align="center" >活动时间</th>
        <th field="detailPicture" width="50" align="center" >活动图片详情</th>
        <th field="dianzan" width="50" align="center">点赞数</th>
        
    </tr>
    </thead>
</table>
<div id="tb">
<div>
        <a href="javascript:openSaleChanceModifyDialog()" class="easyui-linkbutton" iconCls="icon-edit" plain="true">详情</a>
        <a href="javascript:deleteSaleChance()" class="easyui-linkbutton" iconCls="icon-remove" plain="true">删除</a>
         <form action="/controll/activityup?" method="post" enctype="multipart/form-data">
            选择活动图片<input type="file" name="file">
            选择活动详情图片<input type="file" name="file1">
           活动时间 <input type="text" name="text">
            <input type="submit" value="上传">
        </form>
    </div>
   
</div>
<div id="dlg" class="easyui-dialog" style="width:700px;height:450px;padding: 10px 20px"
     closed="true" buttons="#dlg-buttons">
        <input type="text" id="tag" name="tag" value="0"  hidden="true"/>

    <form id="fm" method="post">
        <table cellspacing="8px">
            <tr>
                <td>活动图片：<image id="myimg" src="" width="50px" height="50px"></td>
                <td><input type="text"  class="only"   id="first_PrictureAddress" name="first_PrictureAddress" class="easyui-validatebox" required="true"/></td>
                <td>活动详情图片：<image id="myimg2" src="" width="50px" height="50px"></td>
                <td><input type="text"   class="only"  id="detailPicture" name="detailPicture" class="easyui-validatebox" required="true"/></td>
            </tr>
            
            <tr>
                <td>活动时间：</td>
                <td><input type="text" class="only"   id="content_PictureAddress" name="content_PictureAddress" class="easyui-validatebox" required="true" /></td>
            	<td>ID：</td>
                <td><input type="text"  class="only"  id="id" name="id" class="easyui-validatebox" required="true" /></td>
            </tr>
            <tr>
                <td>点赞数：</td>
                <td><input type="text"  class="only" id="dianzan" name="dianzan" class="easyui-validatebox" required="true" /></td>
           		<td>点赞人：</td>
                <td><input type="text"  class="only" id="phoneNumbers" name="phoneNumbers" class="easyui-validatebox" required="true" /></td>
            </tr>
           
        </table>
    </form>
</div>

<div id="dlg-buttons">
    <a href="javascript:saveSaleChance()" class="easyui-linkbutton" iconCls="icon-ok">保存</a>
    <a href="javascript:closeSaleChanceDialog()" class="easyui-linkbutton" iconCls="icon-cancel">关闭</a>
</div>
</body>
</html>